package com.ruoyi.eims.store.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 采购入库管理对象 t_inbound_order_details
 * 
 * @author hp
 * @date 2023-02-05
 */
public class InboundOrderDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 采购订单 */
    @Excel(name = "采购订单")
    private Long orderId;

    /** 结算账户 */
    @Excel(name = "结算账户")
    private Long accountId;

    /** 订单总额 */
    @Excel(name = "订单总额")
    private BigDecimal countPrice;

    /** 优惠金额 */
    @Excel(name = "优惠金额")
    private BigDecimal preferentialPrice;

    /** 优惠后金额 */
    @Excel(name = "优惠后金额")
    private BigDecimal realPrice;

    /** 扣除定金 */
    @Excel(name = "扣除定金")
    private BigDecimal desPrice;

    /** 本次付款 */
    @Excel(name = "本次付款")
    private BigDecimal payPrice;

    /** 本次欠款 */
    @Excel(name = "本次欠款")
    private BigDecimal debt;

    private Long warehouseId;

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setAccountId(Long accountId) 
    {
        this.accountId = accountId;
    }

    public Long getAccountId() 
    {
        return accountId;
    }
    public void setCountPrice(BigDecimal countPrice) 
    {
        this.countPrice = countPrice;
    }

    public BigDecimal getCountPrice() 
    {
        return countPrice;
    }
    public void setPreferentialPrice(BigDecimal preferentialPrice) 
    {
        this.preferentialPrice = preferentialPrice;
    }

    public BigDecimal getPreferentialPrice() 
    {
        return preferentialPrice;
    }
    public void setRealPrice(BigDecimal realPrice) 
    {
        this.realPrice = realPrice;
    }

    public BigDecimal getRealPrice() 
    {
        return realPrice;
    }
    public void setDesPrice(BigDecimal desPrice) 
    {
        this.desPrice = desPrice;
    }

    public BigDecimal getDesPrice() 
    {
        return desPrice;
    }
    public void setPayPrice(BigDecimal payPrice) 
    {
        this.payPrice = payPrice;
    }

    public BigDecimal getPayPrice() 
    {
        return payPrice;
    }
    public void setDebt(BigDecimal debt) 
    {
        this.debt = debt;
    }

    public BigDecimal getDebt() 
    {
        return debt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("accountId", getAccountId())
            .append("countPrice", getCountPrice())
            .append("preferentialPrice", getPreferentialPrice())
            .append("realPrice", getRealPrice())
            .append("desPrice", getDesPrice())
            .append("payPrice", getPayPrice())
            .append("debt", getDebt())
            .toString();
    }
}
